package cn.oms.manage.pojo.param;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.sql.Date;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)
public class DoctorUpdateParam implements Serializable {

    @ApiModelProperty(value = "id", required = true)
    @NotNull(message = "修改医生信息失败，必须提交医生id！")
    private Long id;

    @ApiModelProperty(value = "科室id", required = true)
    @NotNull(message = "添加医生信息失败，必须提交科室id！")
    private Long departmentId;

    @ApiModelProperty(value = "姓名", required = true)
    @NotNull(message = "添加医生信息失败，必须提交姓名！")
    private String name;

    @ApiModelProperty(value = "性别", required = true)
    @NotNull(message = "添加医生信息失败，必须提交性别！")
    private String gender;

    @ApiModelProperty(value = "生日", required = true)
    @NotNull(message = "添加医生信息失败，必须提交生日！")
    private String birth;

    @ApiModelProperty(value = "年龄", required = true)
    @NotNull(message = "添加医生信息失败，必须提交年龄")
    private String age;

    @ApiModelProperty(value = "电话", required = true)
    @NotNull(message = "添加医生信息失败，必须提交电话！")
    private String phone;

    @ApiModelProperty(value = "医生职称", required = true)
    @NotNull(message = "添加医生信息失败，必须提交职称！")
    private String professionalTitle;

    @ApiModelProperty(value = "履历", required = true)
    @NotNull(message = "添加医生信息失败，必须提交职履历！")
    private String resume;

}
